package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.competition.CompetitionSiteCreateValidate;
import com.mdd.admin.validate.competition.CompetitionSiteSearchValidate;
import com.mdd.admin.validate.competition.CompetitionSiteUpdateValidate;
import com.mdd.admin.vo.competition.CompetitionSiteListVo;
import com.mdd.common.core.PageResult;
import com.mdd.common.entity.competition.CompetitionSite;

public interface ICompetitionSiteService {

    PageResult<CompetitionSiteListVo> list(PageValidate pageValidate, CompetitionSiteSearchValidate searchValidate);


    void add(CompetitionSiteCreateValidate createValidate);

    /**
     * 赛事列编辑
     *
     * @param updateValidate 参数
     * @author LikeAdmin
     */
    void edit(CompetitionSiteUpdateValidate updateValidate);

    /**
     * 赛事列删除
     *
     * @param id 主键ID
     * @author LikeAdmin
     */
    void del(Integer id);

    CompetitionSite detail(Integer id);
}
